package com.trinh.utils.crypto.cryptors;

import com.trinh.utils.crypto.config.KeyConfig;
import com.trinh.utils.crypto.enu.Algorithm;
import com.trinh.utils.crypto.enu.CharFormater;
import com.trinh.utils.crypto.enu.Padding;
import lombok.Data;
import org.springframework.beans.factory.InitializingBean;

/**
 * @Author: TrinhRae
 * @Package: com.trinh.utils.crypto.cryptors
 * @Project: generaltools
 * @Date: 2025/6/23 17:24
 */
public abstract class CryptEngin implements InitializingBean {
    public abstract String encrypt(String string) throws Exception;
    public abstract String decrypt(String string) throws Exception;
}
